/**
 * 字典项 点 状态 
 * @author xiaoxujs
 * @date 2023-11-17
 */
import { FC } from "react";
import { FenpeiStatus } from "./style";
import { Typography } from "antd";

const { Text } = Typography;


const DictionaryItemStyleModule: FC<{
    dianColor: string;
    text?: string
    isCancel?: boolean;
}> = ({
    dianColor,
    isCancel,
    text
}) => {
        return <FenpeiStatus $color={dianColor}>
            <div className='dian'></div>
            <div>
                <Text delete={isCancel} >{text}</Text>
            </div>
        </FenpeiStatus>
    }

export default DictionaryItemStyleModule;